cmake_minimum_required(VERSION 3.10)

project(algorithm2)

#macro
add_definitions(-DUNICODE -D_UNICODE)

# compile features
# set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)

# 使用Qt的模块
set(MEQT_LIB Core )
find_package(Qt5 COMPONENTS REQUIRED ${MEQT_LIB})

# eigen support
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIR}
    ${ME_SOURCE_DIR}
    ${CERES_INCLUDE_DIR})
message(STATUS "EIGEN3_INCLUDE_DIR = ${EIGEN3_INCLUDE_DIR} ")

# 数据结构算法
add_subdirectory(datastructure)

# 数学基础相关
add_subdirectory(mathbasic)

# 相机模型相关算法
add_subdirectory(camera)

# ydms相关算法
add_subdirectory(ydms)
